package com.chuanyekeji.aokai.Mapper;

import com.chuanyekeji.aokai.Entity.Product;
import com.chuanyekeji.aokai.Entity.ProductType;

import java.util.List;

public interface ProductTypeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ProductType record);

    int insertSelective(ProductType record);

    ProductType selectByPrimaryKey(Integer id);

    List<ProductType> getProductType();
    List<ProductType> getTree(int pid);
    int updateByPrimaryKeySelective(ProductType record);

    int updateByPrimaryKey(ProductType record);
}